package com.zls.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 生产人员表
 */
@Data
@Component
public class TProducter {
    @TableId(value = "ID",type = IdType.AUTO)
    private Integer id;
    private String isactive;//是否可用
    private String username;//用户名
    private String phone;//手机号
    private String wechat;//微信
    private String usercard;
    private Date createdate;//创建日期
    private Integer sysUserId;//归属基地用户id
    private Integer producerTypeId;//生产人员类型id
    private String password;//密码
    private Integer farmId;//农场id
    private String openid;
    @TableField(exist = false)
    private SysUser sysUser;
    @TableField(exist = false)
    private TProducerType tProducerType;
    @TableField(exist = false)
    private TFarm tFarm;
}
